What is the main difference between C++ and Java
Answer Posted / kalyan
c++ is platform dependent and java is platform independent language. system programming is written using c,c++ and web based applications can be developed by java.
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
How do you explain polymorphism?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is balance factor?
Which type does string inherit from?
What is abstraction with example?
What is the difference between encapsulation and polymorphism?
Is abstract thinking intelligence?
What does oop mean in snapchat?
What are the important components of cohesion?
What is object and example?
what is graphics
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
What are the three main types of variables?
Why is oop better than procedural?
How oops is better than procedural?