Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UyTube_obligatorio_PdA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Juan José Álvarez Pérez
UyTube_obligatorio_PdA
Commits
3db6bb78
You need to sign in or sign up before continuing.
Commit
3db6bb78
authored
5 years ago
by
JotaJota96
Browse files
Options
Downloads
Patches
Plain Diff
DataType de Comentario hecho
parent
2a1b2006
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
UyTube_aplicacion/src/Logica/DataType/DtComentario.java
+36
-9
36 additions, 9 deletions
UyTube_aplicacion/src/Logica/DataType/DtComentario.java
UyTube_aplicacion/src/Logica/main.java
+0
-8
0 additions, 8 deletions
UyTube_aplicacion/src/Logica/main.java
with
36 additions
and
17 deletions
UyTube_aplicacion/src/Logica/DataType/DtComentario.java
+
36
−
9
View file @
3db6bb78
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package
Logica.DataType
;
package
Logica.DataType
;
/**
import
java.util.Date
;
*
* @author pc01
*/
public
class
DtComentario
{
public
class
DtComentario
{
private
int
id
;
private
String
nickname
;
private
Date
fecha
;
private
String
texto
;
private
int
nivelSubComentario
;
public
DtComentario
(
int
id
,
String
nickname
,
Date
fecha
,
String
texto
,
int
nivelSubComentario
)
{
this
.
id
=
id
;
this
.
nickname
=
nickname
;
this
.
fecha
=
fecha
;
this
.
texto
=
texto
;
this
.
nivelSubComentario
=
nivelSubComentario
;
}
public
int
getId
()
{
return
id
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
Date
getFecha
()
{
return
fecha
;
}
public
String
getTexto
()
{
return
texto
;
}
public
int
getNivelSubComentario
()
{
return
nivelSubComentario
;
}
}
}
This diff is collapsed.
Click to expand it.
UyTube_aplicacion/src/Logica/main.java
+
0
−
8
View file @
3db6bb78
package
Logica
;
package
Logica
;
import
java.util.Date
;
public
class
main
{
public
class
main
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"Hola mundo"
);
System
.
out
.
println
(
"Hola mundo"
);
Date
d
=
new
Date
(
2019
-
1900
,
8
-
1
,
20
);
System
.
out
.
println
(
d
);
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment