MPT - 297378

Rashmi V Female, 35 Years

Associated for 2 Years 2 Months
Programming Language Tutor

Activity Score - 1086

Qualification :
  • MCA (Other - 2008)
  • Total Experience:
    7 Years
  • Hourly Fees:
    INR 200
Tutoring Experience :

Having 5 years of experience as assistant professor in an engineering college. Good knowledge of core subjects of course Computer Science.

Tutoring Option :
Home Tuition Only
Tutoring Approach :
I feel as a teacher it is my role to motivate students to overcome their inhibitions and shine, encourage them to sharpen their talents and groom them to face the world with confidence. I also strive to provide individual attention to each student, get to know them well, as I feel the learners should be more comfortable and confident about their teacher first.
Teaches:
Class 11 - 12 English Computer Science Hindi IT & Computer Subjects CBSE ICSE Local State Board INR 150 / Hour
Technology BCA Subjects MCA Subjects Networking Data Science INR 250 / Hour
College Level Computer Science IT B.Sc Tuition BCA Tuition Rajiv Gandhi Technical University Bhopal Sagar Indore Jabalpur Gwalior INR 250 / Hour
Engineering Subjects Mathematics Computer Electronics IT INR 250 / Hour
Programming Language Python Programming Java and J2EE C C++ Shell Scripting INR 200 / Hour
Data Science / DBMS DBMS & RDBMS Big Data & Hadoop PL/SQL Data Structures INR 250 / Hour

2 Presentations prepared by me

  • Introduction To Database

    31 times downloaded

    Download
  • Introduction To Data Structure

    53 times downloaded

    Download
  • Question: What is the numerical range of a char?

    Posted in: Java and J2EE | Date: 16/08/2017

    Answer:

    Java char range is 2 bytes sothat 16 bits. Java char supports unicode which represents fully international character set.with the help of this length of character set java can support all human language.

  • Answer:

    reserved word in a programming language including java are the predefined words which can not be redefine by a programmer and should be used as it is.reserve words are also known as keywords.

  • Answer:

    The Interface ERP Academy

  • Question: Name some non-linear data structures.

    Posted in: MCA Subjects | Date: 16/08/2017

    Answer:

    Some non linear data structure tree graph

  • Answer:

    return keyword is used to returning the control from a called function to calling function. return may have parameter or it may be empty. return 0; as well as return;

  • Answer:

    data abstraction:- data abstraction is hiding detail from outer world.so that only essential details are available for user. data encapsulation:- is binding data and method within a single entity. data get secure and through those methods we can access that data.

  • Answer:

    bound register are used in memory addressing to give the limit of address for a program so that no program get overlap with each other.

  • Answer:

    time sharing operating system works on multiple process at a same time so that it shares cpu time among multiple processes. time sharing operating system is also a type of multi programming operating system.while real time operating system is responses immediately when a particular event has been occred

  • Answer:

    priviledged instructions are the system calls which have higher priority than user instructions. kernel executes these instructions and can preempt control from user mode.

  • Question: Write a short note on buffering.

    Posted in: Computer Science | Date: 16/08/2017

    Answer:

    A buffer is a temporary storage location for data while the data is being transferred

  • Question: What is Joystick?

    Posted in: Basic Computer | Date: 16/08/2017

    Answer:

    DEFINITION joystick Posted by: Margaret Rouse WhatIs.com Word of the Day unicorn A unicorn, in an investment context, is a tech startup that is assessed at a valuation of $1 billion or more. Subscribe to the Word of the Day Word of the Day Archive 20 Newest and Updated Terms CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart) application-aware storage unicorn Remote Direct Memory Access (RDMA) superposition SD-WAN (software-defined WAN) CompTIA (Computing Technology Industry Association) enterprise master patient index (EMPI) 3D XPoint authorized service provider (ASP) supply chain sustainability software-defined storage (SDS) data compression empirical analysis Oracle VMware Workstation Pro Oracle extents spectrum analyzer denormalization data life cycle In computers, a joystick is a cursor control device used in computer games and assistive technology . The joystick, which got its name from the control stick used by a pilot to control the ailerons and elevators of an airplane, is a hand-held lever that pivots on one end and transmits its coordinates to a computer. It often has one or more push-buttons, called switches, whose position can also be read by the computer.

  • Question: How will you free the allocated memory ?

    Posted in: C,C++ | Date: 16/08/2017

    Answer:

    using free() function.

  • Answer:

    The run() method from runnable interface needs to be implement as any thread starts its execution from the run method.so the initial point of any thread is run().

  • Answer:

    to work on string first you need to incluse string.h file in the program. then by calling Strrchr(const char * str, int character) function you can trace last character in a string.

  • Answer:

    the basic input/output function are available in stdio.h header file. this file provide all input output function to work with standard input output. macros are also defined here.

  • Question: What is Spring?

    Posted in: Java and J2EE | Date: 21/08/2017

    Answer:

    The Spring Framework is an application framework and inversion of control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE (Enterprise Edition) platform. Although the framework does not impose any specific programming model, it has become popular in the Java community as an alternative to, replacement for, or even addition to the Enterprise JavaBeans (EJB) model. The Spring Framework is open source.

  • Question: What are the job opportunities for Spring?

    Posted in: Java and J2EE | Date: 21/08/2017

    Answer:

    there a lots of job opportunities are available for spring java developer. based on your experience you can go for different job role. it is better to register yourself with jobs websites to get notifiocation.

  • Question: What is Servlet?

    Posted in: Java and J2EE | Date: 21/08/2017

    Answer:

    Servlets are the java web service pages which provides service to web applcation. servlets executes at server side.

  • Answer:

    Aptech Computer Education in malviya nagar

  • Question: Which is the best RMI training institute in Delhi?

    Posted in: Java and J2EE | Date: 21/08/2017

    Answer:

    The best center for learning java in delhi ncr is ducat, from where you can also learn RMI.

  • Answer:

    iclass kolkata has best ratings for Oracle Training you can go for it.

  • Answer:

    aptron delhi and skyinfotech both have good rating for oracle traing you can go for it.

  • Question: What is Oracle Sun Storage?

    Posted in: Oracle Training | Date: 22/08/2017

    Answer:

    Oracle offers the broadest portfolio of storage systems built to run your Oracle databases and applications faster and easy for you to manage. for different oracle storage details visit oracle site.

  • Answer:

    jdk 1.6 and above version so that jdk1.7 or jdk1.8 are suitable for hadoop 2.2

  • Question: Is it necessary to know java to learn Hadoop?

    Posted in: Big Data & Hadoop | Date: 22/08/2017

    Answer:

    to learn developer hadoop yes it is necessary to having knowledge of java. while Administrative hadoop does not required java knowledge

  • Question: What is the output of 10+20+"30" in JavaScript?

    Posted in: Java Script | Date: 22/08/2017

    Answer:

    output would be 3030. as first one is integer cancatenate with an string "30"

  • Question: What is JavaScript?

    Posted in: Java Script | Date: 22/08/2017

    Answer:

    java script is a scripting language which can be use to generate response to user dynamically on the web site. it works on client side.

  • Question: What is array in C?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Array is a group of similar type of objects, so in C it is a group of similar type of data types. int a[5]. it is representing an array with name "a" which can store 5 integer values.

  • Question: What is an interface?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    An interface is predefined template which can be used by any class to implement its functionality. it represent a basic methods which should be implemented by a class.

  • Question: What is abstract class?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    An abstract class is a class which contains abstract methods. So that the methods within abstract class does not have definition it just contains declaration of method.

  • Answer:

    No an abstract class always have abstract method.

  • Answer:

    1.Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior. 2.Variables declared in a Java interface is by default final. An abstract class may contain non-final variables.

  • Answer:

    1.Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior. 2.Variables declared in a Java interface is by default final. An abstract class may contain non-final variables.

  • Question: Explain about abstract factory method?

    Posted in: Java Script | Date: 22/08/2017

    Answer:

    Abstract Factory is a creational design pattern, which solves the problem of creating entire product families without specifying their concrete classes. Abstract Factory defines an interface for creating all distinct products, but leaves the actual product creation to concrete factory classes.

  • Answer:

    Multithreading is an execution model that allows a single process to have multiple code segments (i.e., threads) run concurrently within the “context” of that process. You can think of threads as child processes that share the parent process resources but execute independently. Multiple threads of a single process can share the CPU multiprocessing refers to the hardware (i.e., the CPU units) rather than the software (i.e., running processes). If the underlying hardware provides more than one processor then that is multiprocessing. Several variations on the basic scheme exist, e.g., multiple cores on one die or multiple dies in one package or multiple packages in one system. Multitasking has the same meaning of multiprogramming but in a more general sense, as it refers to having multiple (programs, processes, tasks, threads) running at the same time.

  • Question: What is package?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces. Packages are used for: Preventing naming conflicts. For example there can be two classes with name Employee in two packages, college.staff.cse.Employee and college.staff.ee.Employee.

  • Question: Do I need to import java.lang package any time? Why ?

    Posted in: Java Script | Date: 22/08/2017

    Answer:

    No you do not need to import java.lang package as it is a default package. but to implement specific interface or to use specific class you need to import this package.

  • Question: Explain tokens in C++.

    Posted in: C,C++ | Date: 22/08/2017

    Answer:

    tokens are the basic of any language it includes keywords ,literals, variables.

  • Question: What is Enterprise JavaBeans (EJB) container?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    Enterprise JavaBeans (EJB) is one of several Java APIs for modular construction of enterprise software. EJB is a server-side software component that encapsulates business logic of an application. An EJB web container provides a runtime environment for web related software components, including computer security, Java servlet lifecycle management, transaction processing, and other web services.

  • Question: Are JavaBeans J2EE components?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    The EJB specification is a subset of the Java EE specification

  • Question: What do Enterprise JavaBeans components contain?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    it is basically use for store and access value from an instance variable of java class.it has to type of methods - getter methods and setter method

  • Question: What is Inheritance?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    inheritance is a OOPS concept which allows you to access can of one class (superclass) by another class(subclass).so it is a concept of reusability.

  • Answer:

    Java supports multiple inheritance with the help of interface. you can implement multiple interface but can extends only one class at a time.

  • Question: What is inheritance in Java?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    Inheritance refers to a feature of Java programming that lets you create classes that are derived from other classes. A class that's based on another class inherits the other class. The class that is inherited is the parent class, the base class, or the superclass.

  • Question: Why Java doesn’t support multiple inheritance?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    java Supports multiple inheritance with help of interface,you can implement multiple interface .

  • Question: What is virtual inheritance?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Virtual inheritance is a C++ technique that ensures only one copy of a base class's member variables are inherited by grandchild derived classes

  • Question: What are the advantages of inheritance?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    The most frequent use of inheritance is for deriving classes using existing classes, which provides reusability.

  • Question: What is polymorphism ?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Polymorphism is the ability of an object to take on many forms.In Java a method, constructor have multiple form so that having same name but different signature. it is called overloading.

  • Question: How does Java implement polymorphism?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    Polymorphism is the ability of an object to take on many forms.In Java a method, constructor have multiple form so that having same name but different signature. it is called overloading. Java implements polymorphism by method overloading.

  • Question: What is Runtime Polymorphism?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    When super and sub class both have same method, than the decision which version of method should get executes is called runtime polymorphism. this decision is taken during execution of program.

  • Question: What is polymorphism and encapsulation ?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit. In encapsulation, the variables of a class will be hidden from other classes, and can be accessed only through the methods of their current class. Therefore, it is also known as data hiding.

  • Answer:

    Dynamic method dispatch is a mechanism by which a call to an overridden method is resolved at runtime. This is how java implements runtime polymorphism. When an overridden method is called by a reference, java determines which version of that method to execute based on the type of object it refer to.

  • Question: How to achieve virtual polymorphism ?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Virtual polymorphism can be achieved throgh virtual function.Virtual Function A virtual function is a function in a base class that is declared using the keyword virtual. Defining in a base class a virtual function, with another version in a derived class, signals to the compiler that we don't want static linkage for this function. What we do want is the selection of the function to be called at any given point in the program to be based on the kind of object for which it is called. This sort of operation is referred to as dynamic linkage, or late binding.

  • Question: What is data encapsulation?

    Posted in: Networking | Date: 22/08/2017

    Answer:

    Data encapsulation, sometimes referred to as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. The user can only perform a restricted set of operations on the hidden members of the class by executing special functions commonly called methods.

  • Question: What is Encapsulation?

    Posted in: Java and J2EE | Date: 22/08/2017

    Answer:

    In object-oriented programming, encapsulation is the inclusion within a program object of all the resources need for the object to function - basically, the methods and the data. The object is said to "publish its interfaces." Other objects adhere to these interfaces to use the object without having to be concerned with how the object has accomplished it.

  • Question: Define Encapsulation.

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Encapsulation is the inclusion within a program object of all the resources need for the object to function - basically, the methods and the data. The object is said to "publish its interfaces." Other objects adhere to these interfaces to use the object without having to be concerned with how the object has accomplished it.

  • Question: What is encapsulation and abstraction ?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    In object-oriented programming, encapsulation is the inclusion within a program object of all the resources need for the object to function - basically, the methods and the data. The object is said to "publish its interfaces." Other objects adhere to these interfaces to use the object without having to be concerned with how the object has accomplished it. Abstraction:- is hiding detail of implementation from user. As you can consider the example of a car engine. the car driver does not knows the internal details of an engine, he just can access engine functionality.so this is data abstraction.

  • Answer:

    We can implement encapsulation with help of class, as class encapsulate data and its method into single unit.By making object of that class we are implementing abstraction.

  • Question: Briefly explain the working of a for loop.

    Posted in: C,C++ | Date: 22/08/2017

    Answer:

    For loop is use to particular set of instructions n number of times. the syntax of for is for(initialization;condition;updation) {// set of statements } initialization of loop occurs only once during the execution; if condition is true then only set of statements gets executes, every time after execution of statements, update statement get executed.

  • Question: What is the difference between a while and do-while loop?

    Posted in: C,C++ | Date: 22/08/2017

    Answer:

    The difference is in when the condition gets evaluated. In a do..while loop, the condition is not evaluated until the end of each loop. That means that a do..while loop will always run at least once. In a while loop, the condition is evaluated at the start.

  • Answer:

    while [ condition ] do command1 command2 .. .... commandN done Command1.. commandN will execute while a condition is true.

  • Question: Name the largest Wide Area Network.

    Posted in: Computer Science | Date: 22/08/2017

    Answer:

    The largest WAN in existence is the Internet.

  • Question: What is C language?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. The UNIX operating system, the C compiler, and essentially all UNIX application programs have been written in C. C has now become a widely used professional language for various reasons − Easy to learn Structured language It produces efficient programs It can handle low-level activities It can be compiled on a variety of computer platforms

  • Answer:

    User can use c language to do System Programming (for writing operating system) as well as Application Programming (for generate menu driven customer billing system. so it is a language which exists in between types of language.so it is known as Middle level language.

  • Question: Who is the founder of C language?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Dennis Ritchi

  • Answer:

    C Language supports 4 library functions which are knows as memory management functions (malloc, calloc, realloc, free).

  • Question: What are the features of C language?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    Features of C language It is a robust language with rich set of built-in functions and operators that can be used to write any complex program. The C compiler combines the capabilities of an assembly language with features of a high-level language. Programs Written in C are efficient and fast. This is due to its variety of data type and powerful operators. It is many time faster than BASIC. C is highly portable this means that programs once written can be run on another machines with little or no modification. Another important feature of C program, is its ability to extend itself. A C program is basically a collection of functions that are supported by C library. We can also create our own function and add it to C library. C language is the most widely used language in operating systems and embedded system development today.

  • Question: Why C is known as a mother language?

    Posted in: Programming Language | Date: 22/08/2017

    Answer:

    C is commonly referred to as the mother language as it is generally considered to be one of the most prominent programming languages.

  • Answer:

    In C language local variables are initialized with some garbage value.

  • Question: What does the scope of variables means?

    Posted in: PHP and MySQL | Date: 23/08/2017

    Answer:

    Scope of variable specify the existence and accessibility of the variable. There are type of scope of variables global and local.global variable can be access any where in the program while local variable can be accessed within the block in which it is declared.

  • Answer:

    1).Path is an environment variable which is used by the operating system to find the executables. Classpath is an environment variable which is used by the Java compiler to find the path, of classes.ie in J2EE we give the path of jar files. 2).PATH is nothing but setting up an environment for operating system. Operating System will look in this PATH for executables. Classpath is nothing but setting up the environment for Java. Java will use to find compiled classes 3).Path refers to the system while classpath refers to the Developing Envornment. In path we set the path of executables while in classpath we set path of jars for compiling classes.0

  • Answer:

    In Python, variables that are only referenced inside a function are implicitly global. If a variable is assigned a value anywhere within the function's body, it's assumed to be a local unless explicitly declared as global.

  • Answer:

    path and classpath are needed to be set to run a java program.

  • Answer:

    The canonical way to share information across modules within a single program is to create a special configuration module (often called config or cfg). Just import the configuration module in all modules of your application; the module then becomes available as a global name. Because there is only one instance of each module, any changes made to the module object get reflected everywhere.

  • Question: Do interfaces have member variables?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    Interfaces cannot require instance variables to be defined -- only methods. Variables can be defined in interfaces, but they do not behave as might be expected: they are treated as final static .

  • Answer:

    A variable represents a numeric or string value or an object of a class. The value that the variable stores may change, but the name stays the same. A variable is one type of field. The following code is a simple example of how to declare an integer variable, assign it a value, and then assign it a new value. C# int x = 1; // x holds the value 1 x = 2; // now x holds the value 2 A constant is another type of field. It holds a value that is assigned when the program is compiled, and never changes after that. Constants are declared using the const keyword; they are useful for making your code more legible. C# const int speedLimit = 55; const double pi = 3.14159265358979323846264338327950;

  • Question: What are the 5 constants of Action interface?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    Action Interface A convenient approach is to implement the com.opensymphony.xwork2.Action interface that defines 5 constants and one execute method. 5 Constants of Action Interface Action interface provides 5 constants that can be returned form the action class. They are: SUCCESS indicates that action execution is successful and a success result should be shown to the user. ERROR indicates that action execution is failed and a error result should be shown to the user. LOGIN indicates that user is not logged-in and a login result should be shown to the user. INPUT indicates that validation is failed and a input result should be shown to the user again. NONE in

  • Question: How a constant is defined in a PHP script?

    Posted in: PHP and MySQL | Date: 23/08/2017

    Answer:

    nce they are defined they cannot be changed or undefined. PHP Constants A constant is an identifier (name) for a simple value. The value cannot be changed during the script. A valid constant name starts with a letter or underscore (no $ sign before the constant name). Note: Unlike variables, constants are automatically global across the entire script. Create a PHP Constant To create a constant, use the define() function. Syntax define(name, value, case-insensitive) Parameters: name: Specifies the name of the constant value: Specifies the value of the constant case-insensitive: Specifies whether the constant name should be case-insensitive. Default is false

  • Question: Why string objects are immutable in java?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    he string is Immutable in Java because String objects are cached in String pool. ... Another reason of why String class is immutable could die due to HashMap. Since Strings are very popular as HashMap key, it's important for them to be immutable so that they can retrieve the value object which was stored in HashMap.

  • Answer:

    There are five different ways to create an object in Java, 1. Using new keyword → constructor get called Employee emp1 = new Employee(); 2. Using newInstance() method of Class → constructor get called Employee emp2 = (Employee) Class.forName("org.programming.mitra.exercises.Employee") .newInstance(); It can also be written as Employee emp2 = Employee.class.newInstance(); 3. Using newInstance() method of Constructor → constructor get called Constructor constructor = Employee.class.getConstructor(); Employee emp3 = constructor.newInstance(); 4. Using clone() method → no constructor call Employee emp4 = (Employee) emp3.clone(); 5. Using deserialization → no constructor call ObjectInputStream in = new ObjectInputStream(new FileInputStream("data.obj")); Employee emp5 = (Employee) in.readObject(); First three methods new keyword and both newInstance() include a constructor call but later two clone and deserialization methods create objects without calling the constructor.

  • Question: What is the purpose of toString() method in java ?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    The toString() method returns the string representation of the object. If you print any object, java compiler internally invokes the toString() method on the object. So overriding the toString() method, returns the desired output, it can be the state of an object etc. depends on your implementation.

  • Question: Can we use String with switch case?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    String variables with a switch statement have been implemented in Java SE 7, and hence it only works in java 7 and above version.

  • Question: What are the two main string operators?

    Posted in: PHP and MySQL | Date: 23/08/2017

    Answer:

    There are two string operators. The first is the concatenation operator ('.'), which returns the concatenation of its right and left arguments. The second is the concatenating assignment operator ('.='), which appends the argument on the right side to the argument on the left side.

  • Answer:

    Reclaiming the unused memory by the invalid objects. Garbage collector is responsible for this process.you can also call System.gc() method for garbage collection.

  • Question: What is Garbage collection?

    Posted in: Web Development | Date: 23/08/2017

    Answer:

    Reclaiming the unused memory by the invalid objects. Garbage collector is responsible for this process.

  • Question: How to sort a collection of custom Objects in Java?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    We generally use Collections.sort() method to sort a simple array list. However if the ArrayList is of custom object type then in such case you have two options for sorting- comparable and comparator interfaces.

  • Answer:

    An ordered collection means that the elements of the collection have a specific order. The order is independent of the value. A List is an example. A sorted collection means that not only does the collection have order, but the order depends on the value of the element. A SortedSet is an example.

  • Question: What are the collection types in Hibernate?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    We can map collection elements of Persistent class in Hibernate. You need to declare the type of collection in Persistent class from one of the following types: java.util.List java.util.Set java.util.SortedSet java.util.Map java.util.SortedMap java.util.Collection or write the implementation of org.hibernate.usertype.UserCollectionType

  • Question: How can you force garbage collection?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    by using System.gc() method of java we can collect garbage memory forcefully.

  • Question: How to find current date and time in PHP?

    Posted in: PHP and MySQL | Date: 23/08/2017

    Answer:

    You can either use the $_SERVER['REQUEST_TIME'] variable (available since PHP 5.1.0) or the time() function to get the current Unix timestamp. PHP's time() returns a current unix timestamp. With this, you can use the date() function to format it to your needs.

  • Question: What is Difference between AWT and Swing?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    Basically AWT came first and is a set of heavyweight UI components (meaning they are wrappers for operating system objects) whereas Swing built on top of AWT with a richer set of lightweight components. Any serious Java UI work is done in Swing not AWT, which was primarily used for applets.

  • Question: What is the base class for all swing components?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    All swing components are derived from abstract javax.swing.Jcomponet class

  • Answer:

    Black Book of Java is best to learn above.

  • Answer:

    Callbacks are invoked by the event dispatch thread. Event dispatch thread blocks processing of other events as long as call back method executes.

  • Answer:

    Callbacks are invoked by the event dispatch thread. Event dispatch thread blocks processing of other events as long as call back method executes.

  • Question: What is an event handler in swing?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    Event Handling is the mechanism that controls the event and decides what should happen if an event occurs. This mechanism has a code which is known as an event handler, that is executed when an event occurs

  • Question: What is an event handler in swing?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    Event Handling is the mechanism that controls the event and decides what should happen if an event occurs. This mechanism has a code which is known as an event handler, that is executed when an event occurs

  • Answer:

    The window, Frame and Dialog classes use a border layout as their default layout.

  • Answer:

    The window, Frame and Dialog classes use a border layout as their default layout.

  • Question: What is Java Swing?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    Swing is a set of program component s for Java programmers that provide the ability to create graphical user interface ( GUI ) components, such as buttons and scroll bars, that are independent of the windowing system for specific operating system . Swing components are used with the Java Foundation Classes ( JFC ).

  • Question: What is AWT?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    The Abstract Window Toolkit (AWT) is Java's original platform-dependent windowing, graphics, and user-interface widget toolkit preceding Swing. The AWT is part of the Java Foundation Classes (JFC) — the standard API for providing a graphical user interface (GUI) for a Java program.

  • Answer:

    When an applet begins, the AWT calls the following methods, in this sequence: init() start() paint() When an applet is terminated, the following sequence of method calls takes place : stop() destroy()

  • Question: What is Exception Handling?

    Posted in: Programming Language | Date: 23/08/2017

    Answer:

    Exception handling is the process of responding to the occurrence, during computation, of exceptions – anomalous or exceptional conditions requiring special processing – often changing the normal flow of program execution.

  • Question: What is exception propagation ?

    Posted in: Programming Language | Date: 23/08/2017

    Answer:

    An exception propagates from method to method, up the call stack, until it's caught. Uncaught exceptions are propagated in the call stack until stack becomes empty, this propagation is called Exception Propagation.

  • Question: How can we handle the exceptions in JSP ?

    Posted in: Java Script | Date: 23/08/2017

    Answer:

    JSP provide 3 different ways to perform exception handling: Using isErrorPage and errorPage attribute of page directive. Using tag in Deployment Descriptor. Using simple try...catch block.

  • Question: What are common JDBC Exceptions?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    JDBC Exception handling is very similar to the Java Exception handling but for JDBC, the most common exception you'll deal with is java.sql.SQLException. SQLException Methods An SQLException can occur both in the driver and the database. When such an exception occurs, an object of type SQLException will be passed to the catch clause. The passed SQLException object has the following methods available for retrieving additional information about the exception − Method Description getErrorCode( ) Gets the error number associated with the exception. getMessage( ) Gets the JDBC driver's error message for an error, handled by the driver or gets the Oracle error number and message for a database error. getSQLState( ) Gets the XOPEN SQLstate string. For a JDBC driver error, no useful information is returned from this method. For a database error, the five-digit XOPEN SQLstate code is returned. This method can return null. getNextException( ) Gets the next Exception object in the exception chain. printStackTrace( ) Prints the current exception, or throwable, and it's backtrace to a standard error stream. printStackTrace(PrintStream s) Prints this throwable and its backtrace to the print stream you specify. printStackTrace(PrintWriter w) Prints this throwable and it's backtrace to the print writer you specify.

  • Answer:

    Exception::getMessage lets us getting the Exception message and Exception::getLine lets us getting the line in which the exception occurred.

  • Answer:

    Exception toString gives the String representation of the exception.

  • Question: What is nested class?

    Posted in: Blog Programming | Date: 23/08/2017

    Answer:

    A nested class is a member of its enclosing class. Non-static nested classes (inner classes) have access to other members of the enclosing class, even if they are declared private. Static nested classes do not have access to other members of the enclosing class.

  • Answer:

    Difference between Nested Class and Inner Class in Java - A non-static class within another class is called Inner class. - A static class within another class is called Nested class or static Inner class. For example: class Outer { class Inner { } static class Nested { } } - Inner class object must be created using Outer class object. - Nested class object is created without using Outer class object. For example: public class Program { public static void main( String[] args ) { Outer o = new Outer() ; Outer.Inner i = o.new Inner() ; Outer.Nested n = new Outer.Nested() ; } } - Inner class object holds the reference of Outer class object that has created it. - Nested class object do not hold reference of Outer class object, unless explicitly passed and stored. - Hence Inner class object can access instance data members and methods of its own as well as of the Outer class object's whose reference it holds.

  • Question: What is difference between JDK,JRE and JVM?

    Posted in: Programming Language | Date: 23/08/2017

    Answer:

    JVM (Java Virtual Machine): JVM is an abstract machine.A java program execution uses a combination of compilation and interpretation. Programs written in Java are compiled into machine language, but it is a machine language for a computer that is, virtual and doesn't really exist. This so-called "virtual" computer is known as the Java virtual machine (JVM). The machine language for the Java virtual machine is called Java bytecode. Java Virtual Machine is a program that runs pre compiled Java programs, which mean JVM executes .class files (byte-code) and produces output. The JVM is written for each platform supported by Java included in the Java Runtime Environment (JRE). The Oracle JVM is written in the C programming language. There are many JVM implementations developed by different organizations. They may somewhat differ in performance, reliability, speed and so. JDK (Java Development Kit):Java Development Kit (JDK) is a bundle of software components that is used to develop Java based applications. JDK is an implementation of either of Java SE, Java EE or Java ME. Usually, learners start from JDK implementation of Java SE to learn core Java features, which is also known as Java SDK. JDK includes the JRE, set of API classes, Java compiler, Webstart and additional files needed to write Java applets and applications. Java Development Kit is a bundle of the following software components that are needed to develop Java based applications. JRE (Java Runtime Environment):JRE is an implementation of the JVM which actually executes Java programs. It includes the JVM, core libraries and other additional components to run applications and applets written in Java. Java Runtime Environment is a must install on machine in order to execute pre compiled Java Programs. JRE is smaller than the JDK so it needs less disk space and it is so because JRE does not contain Java compiler and other software tools needed to develop Java programs.

  • Answer:

    Yes, there will be no error message for it.

  • Question: What is JVM and is it platform independent?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    JVM is stands for JAVA Virtual machine which allows you to execute java program on your operating system of your machine.The JVM is not written in Java and hence cannot be platform independent. The JVM must be platform dependent to allow your Java to run on the specific platform.

  • Question: What is JDBC?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    JDBC is the JavaSoft specification of a standard application programming interface (API) that allows Java programs to access database management systems. The JDBC API consists of a set of interfaces and classes written in the Java programming language and are used to connect with different database.

  • Question: What is JDBC Driver?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    A JDBC driver is a software component enabling a Java application to interact with a database. JDBC drivers are analogous to ODBC drivers, ADO.NET data providers, and OLE DB providers. To connect with individual databases, JDBC (the Java Database Connectivity API) requires drivers for each database.

  • Question: What is the role of JDBC DriverManager class?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    Class java.sql.DriverManager. The DriverManager provides a basic service for managing a set of JDBC drivers.

  • Question: What does the JDBC Connection interface?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    JDBC Connection interface is used to establish session between java and database.A Connection is the session between java application and database. The Connection interface is a factory of Statement, PreparedStatement, and DatabaseMetaData i.e. object of Connection can be used to get the object of Statement and DatabaseMetaData. The Connection interface provide many methods for transaction management like commit(), rollback() etc.

  • Question: What does the JDBC ResultSet interface?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    The java.sql.ResultSet interface represents the result set of a database query. A ResultSet object maintains a cursor that points to the current row in the result set. The term "result set" refers to the row and column data contained in a ResultSet object. Navigational methods: Used to move the cursor around.

  • Question: What does the JDBC ResultSetMetaData interface?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    Resultsetmetadata Interface in JDBC The metadata means data about data, in case of database we get metadata of a table like total number of column, column name, column type etc. While executing a select operation on a database if the table structure is already known for the programmer, then a programmer of JDBC can read the data from ResutlSet object directly. If the table structure is unknown then a JDBC programmer has to take the help of ResultSetMetadata. A ResultSetMetaData reference stores the metadata of the data selected into a ResutlSet object.

  • Question: What does the JDBC DatabaseMetaData interface?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    DatabaseMetaData interface provides methods to get meta data of a database .

  • Answer:

    The Connection interface provides methods for transaction management such as commit(), rollback() etc

  • Answer:

    Batch Processing in Jdbc. Instead of executing a single query, we can execute a batch (group) of queries using batch processing. The java.sql.Statement and java.sql.PreparedStatement interfaces provide methods for batch processing.

  • Question: What is JDBC API and when do we use it?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a client may access a database. It is Java based data access technology and used for Java database connectivity

  • Question: What is URL Encoding?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    Results URL encoding is the practice of translating unprintable characters or characters with special meaning within URLs to a representation that is unambiguous and universally accepted by web browsers and servers. These characters include − ASCII control characters − Unprintable characters typically used for output control

  • Question: What is URL Rewriting?

    Posted in: Java and J2EE | Date: 23/08/2017

    Answer:

    URL manipulation, also called URL rewriting, is the process of altering (often automatically by means of a program written for that purpose) the parameters in a URL (Uniform Resource Locator). URL manipulation can be employed as a convenience by a Web server administrator, or for nefarious purposes by a hacker.

Write a Review

Anonymous

I have attended classes of Rashmi mam she is an excellent teacher. She makes things easily understand to students. She has expertise in C, C++, Core Java & Phython.

Vasim

She is the best I ever had. She explains very well.

Anonymous

Tutor have good knowledge on solution, concept and technique explained in an understandable manner, hold your interest and encourage you. The topics were well organized and the content of the class supported the objectives.

Sumit Jain

I know her since 7 years. She has an excellent core knowledge of programming languages. She teaches the programming languages from basics especially Core Java. She cleared all my basics of the Core Java and now I have a good command on Core as well as Advanced. She always ready to help & support whenever we need her help. I am very thankful to Rashmi Mam.

Tanushree Chakrabarty

Rashmi ma'am is a reliable tutor. She was always available to answer any questions I had. She is very patient and supportive.

Anonymous

An energetic person, someone with a lot of enthusiasm with respect to human interactions.

Arpita Mishra

She is an excellent professor with great and detailed knowledge of the subjects she opts for teaching.

Anonymous

This is an amazing institute. The teachers are very cooperative and knowledgeable.

Anonymous

Her explaining skills are really versatile. He is an amazing teacher.

Anonymous

He is a nice teacher. He explains very well. His way of teaching is unique and helpful to the students.

Chanchal Vishwakarma

Her way of explanation is excellent.

Sadanand Mourya

As I know her she is dynamic personality. She know how to explain things even though question is not from the syllabus. She know how to maintain relationships with students , she know how to remove gap between students and teacher and with experience she makes comfortable conversations. With her guidance and great knowledge , currently I am working in Tokyo as Bilingual software Engineer and still she helps me whenever I got confused to write a generic code.

Ritu

She has good explanation power and good in subject knowledge.

Anonymous

She is supporting , Intelligent, hard working , perfect. She explains very well.

Vipin

Her knowledge and the way of explaining doubts is very good. She is a nice teacher.

Anonymous

She is a dedicating teacher. She teaches very well.

10 Similar Tutor Profiles

Can’t Find The Right Tutor Yet?

Post your requirement in LearnPick

Post a Requirement

Query submitted.

Thank you!

Drop Us a Query:

Drop Us a Query