Is Java is 100% pure OOPS? Explain?

Answer Posted / sathish kumar.s

1.In java everthing is not an object.
2.because we are using the pritive data types to make a task
(program).
E.g, in addition of numbers, we are declaring the data type
as int, not an object. so it's not 100% pure OOP's.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

628


Can a class have more than one object?

518


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; }

1844


What is thread life cycle in java?

576


What is flush () in java?

550






What is parsing and its types?

578


Is empty in java?

576


Can a method be overloaded based on different return type but same argument type?

540


How do you make an arraylist empty in java?

467


What is an object in java?

551


Does sprintf add a null terminator?

554


What is data type example?

541


What is meant by 'Class access modifiers'?

550


Can we override static methods in java?

575


What are keywords and reserved words in java?

549