Posts by Deivson Bezerra • 149 points
12 posts
-
2
votes1
answer78
viewsQ: Post-increment, pre-increment and its precedence
In both cases following the precedence of the above table would look like this: Case 1 int x = 3; int y = ++x * 5 / x-- + --x; Based on the table of precedence the post-anointing would not come…
-
3
votes2
answers83
viewsQ: Objects eligible for the AG
I have the following certification issue on the Garbage Collector: 1: public class Rabbit { 2: public static void main(String[] args) { 3: Rabbit one = new Rabbit(); 4: Rabbit two = new Rabbit(); 5:…
-
-1
votes1
answer45
viewsQ: java.lang.Nullpointerexception error even with instantiated and initialized object
Good afternoon, In the code below I have already entered the Supplier class within the main Product and even so continues the error below, Can someone help me fix and explain why it’s wrong so…
-
4
votes1
answer97
viewsQ: Doubt with While
I’m a beginner and I’m having second thoughts While / Do…While, follows the doubt in which question. I have an exercise to follow that the teacher solved with the command Do…While, I was trying to…
-
-2
votes1
answer32
viewsQ: Problems when registering at the bank
Friends, I have a system to control productivity of each analyst, I am a beginner and I am starting with JSP and SERVLET + JPA and I have the following scenario: I am trying to register an analyst…
-
0
votes1
answer92
viewsQ: Class diagram x Database
I have a class diagram and would like to know how to build the database. Follow the scenario: With the classes below I have a Demand that has a requester and an analyst, right next to each of the…
-
0
votes1
answer203
viewsQ: Doubts about the construction and relationships between classes and the mapping in JPA
In the following class diagram I am trying to make the following class relationships where a demand will have a responsible analyst and a requesting client. I wonder if my mapping is right if the…
-
0
votes1
answer763
viewsQ: Error type Mismatch: cannot Convert from String to String[] - How can I fix?
When trying to receive value through a JOptionPane in a matrix, but gives this error: type mismatch: cannot convert from String to String[] How can I correct? Follow my source code below: package…
-
-1
votes1
answer190
viewsQ: JSP scriptlet code for EL
How can I rewrite this JSP code using Expression Language? <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html> <html>…
-
1
votes1
answer443
viewsQ: Using @import in CSS
I would like to know about the use of @import to import style sheets within another style sheet, for example: Inside the archive css style.: @import url("css/layout.css"); body{ background: #F0F0F0;…
cssasked Deivson Bezerra 149 -
2
votes2
answers6642
viewsQ: Shadow/edge effect in box
Can someone help me how to make this shadow effect or this edge below in a box already tried with border and shadow but the effect did not look like and for me it got ugly, someone could help me?…
cssasked Deivson Bezerra 149 -
0
votes1
answer620
viewsQ: Fixed footer and header
I wonder how I can make a layout like the below but getting fixed the header and footer, if the body increases the header and footer stay fixed. *{ padding: 0; margin: 0; text-decoration: none; }…