sai_mahesh67309 Profile Banner
Sai Mahesh Profile
Sai Mahesh

@sai_mahesh67309

Followers
132
Following
186
Media
80
Statuses
92

https://t.co/biT6Q0NI2X student @presidencyuniversity | Passionate about programming | Aspiring tech enthusiast

Joined December 2023
Don't wanna be here? Send us removal request.
@sai_mahesh67309
Sai Mahesh
1 month
Detailed explanation on microservices Vs monolith .
0
0
2
@sai_mahesh67309
Sai Mahesh
2 months
Will Golang replace JAVA? || GO vs JAVA
0
0
5
@sai_mahesh67309
Sai Mahesh
2 months
-Execution Journey : Java and C Compared .
0
0
3
@sai_mahesh67309
Sai Mahesh
2 months
-Single inheritance in Java refers to a scenario where a subclass (child class) inherits from a single superclass (parent class). This allows the subclass to reuse and extend the functionality of the superclass, promoting code reusability and modularity using the extends keyword.
Tweet media one
0
0
5
@sai_mahesh67309
Sai Mahesh
2 months
-Inheritance in Java is mechanism by which one class acquires the properties and behaviors (methods and fields) of another class. Java supports several types of inheritance,but due to the restriction of single class inheritance, not all types are implemented the same way as other
Tweet media one
0
0
7
@sai_mahesh67309
Sai Mahesh
3 months
-Java Package: A namespace that groups related classes/interfaces, preventing conflicts and aiding access control. Java API: A collection of pre-built classes/interfaces providing essential functionality like I/O, data structures, and networking.
Tweet media one
1
1
6
@sai_mahesh67309
Sai Mahesh
3 months
-Encapsulation in Java is an object-oriented principle that bundles data (variables) and methods within a class while restricting direct access using access modifiers. Controlled access is provided through getter and setter methods, ensuring data integrity and maintainability.
Tweet media one
0
2
8
@sai_mahesh67309
Sai Mahesh
3 months
-Java,modifiers control the scope,accessibility,and behavior of classes, methods, and variables. They are divided into access modifiers (public,private,protected,default)and non-access modifiers (static,final,abstract,synchronized),ensuring structured and controlled functionality
Tweet media one
0
0
3
@sai_mahesh67309
Sai Mahesh
3 months
-In Java, a constructor is a special method used to initialize objects when they are created. Constructors have the same name as the class and do not return a value. They can be default, parameterized, or copy constructors, enabling flexibility in object initialization.
Tweet media one
0
0
5
@sai_mahesh67309
Sai Mahesh
3 months
-In Java,class methods are functions defined within a class that define the behavior of its objects.These methods can be instance methods or static methods (shared across all instances). Methods enable modular and reusable code by performing operations on class attributes.
Tweet media one
0
0
4
@sai_mahesh67309
Sai Mahesh
3 months
-In Java, class attributes are variables within a class that define the state or characteristics of its objects. They can have access levels like private or public and work alongside methods to manage data.
Tweet media one
0
0
6
@sai_mahesh67309
Sai Mahesh
3 months
-In Java, classes are blueprints or templates used to create objects, defining their properties (fields) and behaviors (methods). An object is an instance of a class, representing a specific entity with actual values assigned to the fields defined by the class.
Tweet media one
0
0
7
@sai_mahesh67309
Sai Mahesh
3 months
-Object-Oriented Programming (OOP) in Java is a paradigm where objects containing data (fields) and methods (functions) form the foundation. It emphasizes principles like Encapsulation, Inheritance, Polymorphism, and Abstraction to enable modular and reusable code.
Tweet media one
0
1
6
@sai_mahesh67309
Sai Mahesh
3 months
-Recursion in Java is when a method calls itself to solve smaller versions of a problem until it reaches a base case. It's used in tasks like solving factorials, Fibonacci sequences, and tree traversal.
Tweet media one
0
1
8
@sai_mahesh67309
Sai Mahesh
3 months
- In Java, scope refers to the region of a program where a variable is accessible. It determines the visibility and lifetime of variables. There are four main types of scope in Java:
Tweet media one
0
0
3
@sai_mahesh67309
Sai Mahesh
3 months
-Method overriding in Java allows a subclass to redefine a method from its superclass with the same name, parameters, and return type. This enables the subclass to modify or extend the behavior of the inherited method.
Tweet media one
0
2
5
@sai_mahesh67309
Sai Mahesh
3 months
-Method overloading allows multiple methods in the same class to have the same name, provided they differ in their parameter lists (number, types, or order of parameters). This is known as compile-time polymorphism.
Tweet media one
0
1
5
@sai_mahesh67309
Sai Mahesh
3 months
In Java,method parameters are variables passed to a method to provide input.They are defined in the method's signature and can be:.-Primitive Types: Passed by value-changes don't affect the original variable.-Reference Types: Passed by reference-changes can affect original object
Tweet media one
0
0
2
@sai_mahesh67309
Sai Mahesh
3 months
-A method in Java is a block of code designed to perform a specific task. It improves code reusability and organization by allowing a set of statements to be executed multiple times without rewriting them. Methods can have parameters and return values.
Tweet media one
0
0
3
@sai_mahesh67309
Sai Mahesh
3 months
-A multidimensional array in Java is an array of arrays, commonly used to store data in a table-like format with rows and columns. The most common type is a two-dimensional array, declared with [][] and accessed using row and column indices.
Tweet media one
0
0
3