Ads block

Explain different types of constructors.
Constructors are special member functions whose task is to initialize the objects of its class. It is treated as a special member function because its name i…
Read more »
Explain Method overloading.
By
Jeevan Sai
10 Marks
·
OPPS WITH JAVA
·
Unit 4
Method Overloading With method overloading , multiple methods can have the same name with different parameters: Example int myMethod ( int x ) float myM…
Read more »
Define array. And explain about single dimensional array with an example.
By
Jeevan Sai
10 Marks
·
OPPS WITH JAVA
·
Unit 4
Java Arrays Normally, an array is a collection of similar type of elements which has contiguous memory location. Java array is an object which contains elem…
Read more »
Explain about switch statement with an example.
By
Jeevan Sai
10 Marks
·
OPPS WITH JAVA
·
Unit 3
Java Switch Statement The Java switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement. The switch state…
Read more »
SEARCH
LATEST
3-latest-65px
SECCIONS
- 10 Marks (14)
- 5 Marks (20)
- OPPS WITH JAVA (34)
- QUESTION BANK (1)
- Unit 1 (13)
- Unit 2 (10)
- Unit 3 (12)
- Unit 4 (9)
- Unit 5 (6)
Search This Blog
Powered by Blogger.
Blog Archive
- August 2021 (1)
- June 2021 (55)
*Java Constructor* class Main { private String name; Main() { name = "Programiz"; } public static void main(String[...
