Online Computer Coaching
Switch case is a powerful decision-making construct commonly used in modular programming. Unlike other programming languages, Python doesn’t provide a switch case instrument over the self. However, it has many other constructs like a dictionary, lambda function, and classes to write a custom implementation of the Python switch case statement. One example of Switch in […]
Python Constructors A constructor is a special type of method (function) which is used to initialize the instance members of the class. 2 Types of Constructor 1.parameterized 2. non-parameterized Constructor definition executes when we create object of the class. Constructors also verify that there are enough resources for the object to perform any start-up task. […]
What is Generic Servlet class? – This class implements Servlet and Servlet Config interfaces. – It can be extended by a servlet. – It is a common practice that a servlet class extends protocol-specific, such as HttpServlet class. – With the help of using life cycle methods, it makes simpler and easier to develop servlets […]
Advance Java is used to develop Web & Enterprise application. Advance Java gives the library to understand the Client-Server architecture for Web Application Development which Core Java doesn’t support. There are a lot of Advance Java frameworks like Spring, JSF, Struts etc. which enable you to develop a secure transaction based web apps for the domains like E-Commerce, Banking, Legal, Financial, Healthcare, Inventory etc. TCCI teach Advance Java […]
The pass statement . pass_stmt: “pass“. pass is a null operation — when it is executed, nothing happens. Use the pass statement to indicate empty functions , classes and loops. With pass, we indicate a“null” block. Pass can be placed on the same line, or on a separate line. Pass can be used to quickly […]
Data Types in Python: To differentiate data into different categories we have Data Types. Here is the list of most commonly used built-in types that Python supports: Immutable built-in datatypes of Python Numbers Strings Tuples Mutable built-in datatypes of Python List Dictionaries Sets To learn more about Python in Detail Join TCCI in Bopal and […]