What is the difference between class and structure?
Answer Posted / konankiswetha
class is a slow access because of heap memory. But struct
is a faster in access because of stack memory.
values are initialize at the time of declaration in class
but not in struct.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is multilevel inheritance explain with example?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is debug class?what is trace class? What differences are between them? With examples.
What is overriding in oops?
What is the difference between inheritance and polymorphism?
What is abstraction encapsulation?
How do you answer polymorphism?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is super in oop?
What is difference between oop and pop?
#include
Whats oop mean?
What is the main feature of oop?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy