Difference between class and struct?
I learnt C at first and then Java. In C I learnt struct. In C++ and Java I am learning class. Is there a difference between class and struct?
- 4569 Views
- 1 Answers
1 Answers
-
-
- 21 Jul
- 0 Comment
-
- What is C++ programming language used for?
- What are the five basic elements of a C++ program?
- Which software is used for C and C++?
- How can I practice the questions of C Plus Plus Programming? Where to find study material?
- Is Python better than C++? Explain your answer
- What is C++? How one can go for C++ in engineering?
- Where can I find study materials for learning c++?
- how c plus plus is different than java ?
- Most suitable way for returning the logical errors
- Reallocation of pointers in C++
Practice Mock Test
c plus plus programming
yes there is a difference between structure and class that is .......struct is basically used to store/declare the variables of different types of data.but in java class is a main part where which contains main() function from there program gets start executing