endl defined in std namespace (std::endl), inserts a newline character into the output sequence and flushes it.
Header files (.h) provide information that will be required in multiple files or in a module. Class declarations, function prototypes and enumerations typically go in header files.
//function.h void print_factorial(int n); int factorial(int n);
Code files (.cpp) contains the implementation that only needs to be known in one file. Function bodies and internal variables are implmented in .cpp files.
How do you implement JPMS in your Java Project?
What is Java Platform Module System (JPMS)/ Modules?
What is the difference between -DskipTests and -Dmaven.test.skip=true?
What are the client-side features provided in the Spring Cloud Config framework?
List the server-side features provided in the Spring Cloud Config framework.
What are resolvers in GraphQL?
What is an exclamation point (!) in GraphQL?
What are scalar types in GraphQL?
Difference between a mutation and a query in GraphQL.
What is the Kubernetes CNI (Container Networking Interface)?
Interviews Questions |
About Javapedia.net Javapedia.net is for Java and J2EE developers, technologist and college students who prepare of interview. Also this site includes many practical examples. This site is developed using J2EE technologies by Steve Antony, a senior Developer/lead at one of the logistics based company. |
||
contact: javatutorials2016[at]gmail[dot]com | |||
Kindly consider donating for maintaining this website. Thanks. |
|||
Copyright © 2020, javapedia.net, all rights reserved. privacy policy. ![]() |