Is Java is 100% pure OOPS? Explain?

Answer Posted / priyanjan

Java is not 100% pure OOP,but 99.34%,because primitive data
types are not treated as object

Is This Answer Correct ?    27 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a generic code?

623


Which number is denoted by leading zero in java?

905


what is encapsulation in java? Explain

748


Why are constructors used?

649


What is annotation in java?

680






What is t type java?

708


State two differences between C and Java.

809


What is arrays aslist in java?

615


What is the reflection?

658


What is Session reduplication and how its done?

1659


public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }

1941


What is a local, member and a class variable?

662


Why do we need singleton class?

640


Can an integer be null java?

659


Explain what access modifiers can be used for methods?

662